package com.ruoyi.management.bank.service.impl;

import com.ruoyi.management.bank.ro.BankOrderListParam;
import com.ruoyi.management.bank.service.BankOrderService;
import com.ruoyi.management.bank.vo.BankOrderListVo;
import com.ruoyi.management.order.mapper.DriverOrderManagementMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 订单
 * 
 * @author ruoyi
 * @date 2021-12-07
 */
@Service
public class BankOrderServiceImpl implements BankOrderService
{


    @Autowired
    private DriverOrderManagementMapper driverOrderManagementMapper;

    @Override
    @Transactional(rollbackFor = Exception.class)
    public List<BankOrderListVo> getOrderBankOrderList(BankOrderListParam param) {
        return driverOrderManagementMapper.selectOrderBankOrderList(param);
    }
}
